package com.sadhoc.router.util;

public class Debug {

	public static boolean basicDebugOn 	= true;
	public static boolean detailDebugOn = true;
	public static DebugReceiverI debgr	= null;
		
	public static void printBasic(String s) {
		if (!basicDebugOn) return;
		if (debgr != null)
			debgr.onDebugBasic(s);
	}
	
	public static void printDetailed(String s) {
		if (!detailDebugOn) return;
		if (debgr != null)
			debgr.onDebugDetailed(s);
	}
	
}
